<?php
namespace openapiend\controllers;

use Yii;
use yii\web\Controller;
use common\models\Tools;
/**
 * 首页数据
 */
class IndexController extends Controller
{
    public $enableCsrfValidation=false;
    /**
     * {@inheritdoc}
     */
    public function behaviors()
    {
        return [
            
        ];
    }
    
    public function actionIndex(){
        //获取首页数据
        $data = "";
        
        $output['success'] = 1;
        $output['msg'] = '获取成功';
        $output['data'] = $data;
        Tools::outputjson($output);
    }
}
